package chapter7;

public class EngineerTest {

    public static void main(String[] args) {
        Eng eng1=new Eng();
        System.out.println("赋值之前打印");
        eng1.showInfo();
        eng1.name="张三";
        eng1.age=18;
        eng1.title="高级程序员";
//        eng1.work();
        System.out.println("赋值之后打印");
        eng1.showInfo();

    }
}
